package com.szgr.baoyin.model;

import java.io.Serializable;
import java.util.List;

/**
 * Created by yang on 15/11/10.
 */
public class DetailConfig implements Serializable {
    private String name;
    private List<DetailConfigItem> data;
    private String price;
    private DetailConfigItem checkedItem;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<DetailConfigItem> getData() {
        return data;
    }

    public void setData(List<DetailConfigItem> data) {
        this.data = data;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public DetailConfigItem getCheckedItem() {
        return checkedItem;
    }

    public void setCheckedItem(DetailConfigItem checkedItem) {
        this.checkedItem = checkedItem;
    }

    public DetailConfigItem getItem(){
        return new DetailConfigItem();
    }


    public class DetailConfigItem implements Serializable {
        private String id;// "143",
        private String image;// "http://123.57.75.202/baoyin/data/upload/shop/store/goods/6/6_04995358722585981_240.jpg",
        private String name;// "850螺旋式排屑机",
        private String price;// "3100.00",
        private String num;// 1


        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getImage() {
            return image;
        }

        public void setImage(String image) {
            this.image = image;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getPrice() {
            return price;
        }

        public void setPrice(String price) {
            this.price = price;
        }

        public String getNum() {
            return num;
        }

        public void setNum(String num) {
            this.num = num;
        }
    }
}
